<?php
namespace app\index\controller;

use think\facade\Request;
use think\facade\View;

class Brand
{
     public function BrandList()
     {
         $where=[];
         $param = Request::param();
         View::assign($param);
         if(isset($param['keywords']) && $param['keywords']<>'')
             $where['keywords']=$param['keywords'];
       $list=\app\index\model\Brand::getone($where);
       View::assign('list',$list);
         return View();
     }
}